package com.zerdoor.service.impl;

import com.zerdoor.dao.ItemAppraiseDao;
import com.zerdoor.service.ItemAppraiseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by zhongjieyu on 2015/1/22.
 */
@Service
public class ItemAppraiseServiceImpl implements ItemAppraiseService {

    @Autowired
    private ItemAppraiseDao itemAppraiseDao;

    @Override
    public void deleteAppraise(int appraiseId) throws Exception {

        itemAppraiseDao.deleteAppraise(appraiseId);
    }

    @Override
    public List<Map<String, Object>> findItemAppraise(Map param) throws Exception {



        return itemAppraiseDao.findItemAppraise(param);
    }
}
